<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
        <head><title>trait XmlOutputStore in com.google.xml.combinators</title>
        <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.1.r14655-b20080415113712)" name="generator"></meta><link href="../../../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../../../script.js"></script>
        </head>
        <body onload="init()">
        <table summary="" class="navigation">
        <tr>
          <td class="navigation-links" valign="top">
            <!-- <table><tr></tr></table> -->
          </td>
          <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
            <div class="doctitle-larger">GData Scala Client Library Documentation</div>
          </td>
        </tr>
        <tr><td></td></tr>
      </table>
        
      <div class="entity">
        <a href="../../../../com/google/xml/combinators$package.html" target="_self">com.google.xml.combinators</a>
        <br></br>
        <span class="entity">trait  XmlOutputStore</span>
      </div><hr></hr>
      <div class="source">
        [source: <a href="" class="com/google/xml/combinators/XmlOutputStore"><code>com/google/xml/combinators/XmlOutputStore.scala</code></a>]
      </div><hr></hr>
      <a name="XmlOutputStore"></a><dl>
      <dt>
        
        <code></code>
        <code>trait</code>
        <em>XmlOutputStore</em>
      </dt>
      <dd><code> extends </code><a href="../../../../com/google/xml/combinators/XmlStore.html" target="_self">XmlStore</a><code> with </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a></dd>
    </dl>
      <dl><dd>An XML store used during pickling. It provides methods for adding
 XML elements, attributes and namespaces. Implementers decide on the
 actual strategy for looking up elements based on name (linear or 
 random access).</dd></dl>
      <dl><dt style="margin:10px 0 0 20px;">
        <b>Author</b></dt><dd>Iulian Dragos</dd></dl>
    <dl>
      <dt style="margin:10px 0 0 20px;"><b>Direct Known Subclasses:</b></dt>
      <dd><a href="../../../../com/google/xml/combinators/PlainOutputStore.html" target="_self">PlainOutputStore</a></dd>
      </dl><hr></hr>
      


<table summary="" cellpadding="3" class="member">
      <tr><td class="title" colspan="2">Method Summary</td></tr>
      <tr>
      <td class="modifiers" valign="top"> 
        <code>abstract def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/xml/combinators/XmlOutputStore.html#addAttribute%28String%2CString%29" target="_self">addAttribute</a></em>
        (<em>key</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>, <em>value</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>) : <a href="../../../../com/google/xml/combinators/XmlOutputStore.html" target="_self">XmlOutputStore</a>
        
        <div>Return a new XmlStore with an unprefixed attribute appended to the list of attrs.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>abstract def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/xml/combinators/XmlOutputStore.html#addAttribute%28String%2CString%2CString%29" target="_self">addAttribute</a></em>
        (<em>pre</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>, <em>key</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>, <em>value</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>) : <a href="../../../../com/google/xml/combinators/XmlOutputStore.html" target="_self">XmlOutputStore</a>
        
        <div>Return a new XmlStore with a new attribute prepended to the list of attrs</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>abstract def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/xml/combinators/XmlOutputStore.html#addNamespace%28String%2CString%29" target="_self">addNamespace</a></em>
        (<em>pre</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>, <em>uri</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>) : <a href="../../../../com/google/xml/combinators/XmlOutputStore.html" target="_self">XmlOutputStore</a>
        
        <div>Return a new LinearStore with a new namespace binding. If the 
   prefix is already defined to the given URI, it returns the 
   current object.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>abstract def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/xml/combinators/XmlOutputStore.html#addNode%28scala.xml.Node%29" target="_self">addNode</a></em>
        (<em>n</em> : <a href="" target="contentFrame" class="scala/xml/Node">scala.xml.Node</a>) : <a href="../../../../com/google/xml/combinators/XmlOutputStore.html" target="_self">XmlOutputStore</a>
        
        <div>Add a node.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/xml/combinators/XmlOutputStore.html#addNodes%28Seq%5Bscala.xml.Node%5D%29" target="_self">addNodes</a></em>
        (<em>ns</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="" target="contentFrame" class="scala/xml/Node">scala.xml.Node</a>]) : <a href="../../../../com/google/xml/combinators/XmlOutputStore.html" target="_self">XmlOutputStore</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>abstract def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/xml/combinators/XmlOutputStore.html#addStore%28com.google.xml.combinators.XmlStore%29" target="_self">addStore</a></em>
        (<em>other</em> : <a href="../../../../com/google/xml/combinators/XmlStore.html" target="_self">XmlStore</a>) : <a href="../../../../com/google/xml/combinators/XmlOutputStore.html" target="_self">XmlOutputStore</a>
        
        <div>Add an entire XmlStore to this store.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/xml/combinators/XmlOutputStore.html#addText%28String%29" target="_self">addText</a></em>
        (<em>s</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>) : <a href="../../../../com/google/xml/combinators/XmlOutputStore.html" target="_self">XmlOutputStore</a>
        
        <div>Add a text node</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>abstract def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/xml/combinators/XmlOutputStore.html#rootNode" target="_self">rootNode</a></em>
         : <a href="" target="contentFrame" class="scala/xml/Elem">scala.xml.Elem</a>
        
        <div>Return the root element of the constructed XML fragment. 
   It always returns the first node in the list of nodes. It
   throws an error if there are top-level attributes.</div>
      </td>
    </tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#toString%28%29" target="_self">toString</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a>
        </td></tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a>
        </td></tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="../../../../com/google/xml/combinators/XmlStore.html" target="_self">XmlStore</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="../../../../com/google/xml/combinators/XmlStore.html#attrs" target="_self">attrs</a> (abstract), <a href="../../../../com/google/xml/combinators/XmlStore.html#nodes" target="_self">nodes</a> (abstract), <a href="../../../../com/google/xml/combinators/XmlStore.html#ns" target="_self">ns</a> (abstract)
        </td></tr>
      </table>


      


<table summary="" cellpadding="3" class="member-detail">
          <tr><td class="title">Method Details</td></tr>
        </table><div><a name="addAttribute%28String%2CString%2CString%29"></a><dl>
      <dt>
        
        <code>abstract</code>
        <code>def</code>
        <em>addAttribute</em>(<em>pre</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>, <em>key</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>, <em>value</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>) : <a href="../../../../com/google/xml/combinators/XmlOutputStore.html" target="_self">XmlOutputStore</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Return a new XmlStore with a new attribute prepended to the list of attrs</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="addAttribute%28String%2CString%29"></a><dl>
      <dt>
        
        <code>abstract</code>
        <code>def</code>
        <em>addAttribute</em>(<em>key</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>, <em>value</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>) : <a href="../../../../com/google/xml/combinators/XmlOutputStore.html" target="_self">XmlOutputStore</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Return a new XmlStore with an unprefixed attribute appended to the list of attrs.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="addNamespace%28String%2CString%29"></a><dl>
      <dt>
        
        <code>abstract</code>
        <code>def</code>
        <em>addNamespace</em>(<em>pre</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>, <em>uri</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>) : <a href="../../../../com/google/xml/combinators/XmlOutputStore.html" target="_self">XmlOutputStore</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Return a new LinearStore with a new namespace binding. If the 
   prefix is already defined to the given URI, it returns the 
   current object.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="addText%28String%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>addText</em>(<em>s</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>) : <a href="../../../../com/google/xml/combinators/XmlOutputStore.html" target="_self">XmlOutputStore</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Add a text node</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="addNodes%28Seq%5Bscala.xml.Node%5D%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>addNodes</em>(<em>ns</em> : <a href="" target="contentFrame" class="scala/Seq">scala.Seq</a>[<a href="" target="contentFrame" class="scala/xml/Node">scala.xml.Node</a>]) : <a href="../../../../com/google/xml/combinators/XmlOutputStore.html" target="_self">XmlOutputStore</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="addNode%28scala.xml.Node%29"></a><dl>
      <dt>
        
        <code>abstract</code>
        <code>def</code>
        <em>addNode</em>(<em>n</em> : <a href="" target="contentFrame" class="scala/xml/Node">scala.xml.Node</a>) : <a href="../../../../com/google/xml/combinators/XmlOutputStore.html" target="_self">XmlOutputStore</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Add a node.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="addStore%28com.google.xml.combinators.XmlStore%29"></a><dl>
      <dt>
        
        <code>abstract</code>
        <code>def</code>
        <em>addStore</em>(<em>other</em> : <a href="../../../../com/google/xml/combinators/XmlStore.html" target="_self">XmlStore</a>) : <a href="../../../../com/google/xml/combinators/XmlOutputStore.html" target="_self">XmlOutputStore</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Add an entire XmlStore to this store.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="rootNode"></a><dl>
      <dt>
        
        <code>abstract</code>
        <code>def</code>
        <em>rootNode</em> : <a href="" target="contentFrame" class="scala/xml/Elem">scala.xml.Elem</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Return the root element of the constructed XML fragment. 
   It always returns the first node in the list of nodes. It
   throws an error if there are top-level attributes.</dd></dl>
      <dl></dl>
    <hr></hr></div>


    <hr></hr>
        <table summary="" class="navigation">
        <tr>
          <td class="navigation-links" valign="top">
            <!-- <table><tr></tr></table> -->
          </td>
          <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
            <div class="doctitle-larger">GData Scala Client Library Documentation</div>
          </td>
        </tr>
        <tr><td></td></tr>
      </table>
      </body>
      </html>